xenpaging: track number of paged pages in struct domain
authorOlaf Hering <olafiaepfle.de>
Mon, 26 Sep 2011 21:19:42 +0000 (22:19 +0100)
committerOlaf Hering <olafiaepfle.de>
Mon, 26 Sep 2011 21:19:42 +0000 (22:19 +0100)
commit47e2593cc8a6f99d4b621228bd847b0b2d7e5cb3
tree437c07793d2ce2fbacbc1a61f2560b4b3a5d47de
parent5f47247ded7bcd5ae5126da30f09f105a59fdc8d
xenpaging: track number of paged pages in struct domain

The toolstack should know how many pages are paged-out at a given point
in time so it could make smarter decisions about how many pages should
be paged or ballooned.

Add a new member to xen_domctl_getdomaininfo and bump interface version.
Use the new member in xc_dominfo_t.
The SONAME of libxc should be changed if this patch gets applied.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
tools/libxc/xc_domain.c
tools/libxc/xenctrl.h
xen/arch/x86/mm/p2m.c
xen/common/domctl.c
xen/include/public/domctl.h
xen/include/xen/sched.h